Filter hook 'pre_term_{$field}'
in WP Core File wp-includes/taxonomy.php at line 1815
Description
Filters a term field value before it is sanitized. The dynamic portion of the hook name, `$field`, refers to the term field.
Occurrences
Filename |
Line Number |
wp-includes/taxonomy.php |
1815 |
Parameters
Type |
Name |
Description |
mixed |
$value |
Value of the term field. |
string |
$taxonomy |
Taxonomy slug. |
PHP Doc
/**
* Filters a term field value before it is sanitized.
*
* The dynamic portion of the hook name, `$field`, refers to the term field.
*
* @since 2.3.0
*
* @param mixed $value Value of the term field.
* @param string $taxonomy Taxonomy slug.
*/